<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui"
	template="/templates/layout.xhtml">

	<ui:define name="head"></ui:define>
	<ui:define name="ptitle">工程项目管理平台</ui:define>
	<ui:define name="pcontent">
	


	<p:commandButton value="Modal" type="button" onclick="PF('dlgWfm').show();" />
	
	<p:dialog header="Modal Dialog" widgetVar="dlgWfm" modal="true"  appendTo="@(body)"  dynamic="true" closeOnEscape="true"  height="200" width="400">
	    <h:outputText value="This is a Modal Dialog." />
	     <h:inputText value="This is a Modal Dialog." />
	</p:dialog>  		
</ui:define>
</ui:composition>
